package com.lyy.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author Liangyaoyun
 */
@FeignClient("product-service")
public interface ProductFeign {
    @GetMapping("/api/v1/product/getById/{id}")
    String getById(@PathVariable("id") Long id);


}
